home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: Variable paramater list macros
- Date: 22 Jan 1996 07:56:23 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4e0c37INN340@keats.ugrad.cs.ubc.ca>
- References: <4crc3v$hm8@barnacle.iol.ie>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <4crc3v$hm8@barnacle.iol.ie>, Derek Hardiman <derekh@iol.ie> wrote:
- >I want to replace a variable argument list function (which I use for
- >debugging ) with a macro that does nothing.
- >
- >Unfortunately I can't remember how to write a macro that takes a
- >variable number of paramaters ! Can you ?
-
- Yes. I use GCC. Its preprocessor allows this. Of course, using the special
- features of GCC makes your code non portable to other compilers (but some
- people don't care).
- --
-
-